package com.cloudservice.ccs.mapper;


import com.cloudservice.ccs.entity.CustomerInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface CustomerInfoMapper {
    int save( CustomerInfo customerInfo);

    int update(Integer id, CustomerInfo customerInfo);

    int delete(Integer id);

    int partialUpdate(Integer id, Map<String, Object> fields);

    CustomerInfo getOne(Integer id);

    List<CustomerInfo> getAll();

    List<CustomerInfo> conditionQuery(Map<String,Object> fields);
}
